/*
* Copyright (c) 18/5/19 foo.com. All Rights Reserved.
*/
package com.cgmnx.admin.service;

import com.cgmnx.admin.common.bean.Limiter;
import com.cgmnx.admin.dao.condition.ReplyCondition;
import com.cgmnx.admin.dao.entity.ReplyEntity;

import java.util.List;

/**
 * @author: z Date: 18/5/19 Time: 下午7:03
 * @version: 1.0.0
 */
public interface ReplyService {

    void save(ReplyEntity entity);

    List<ReplyEntity> queryPage(ReplyCondition condition,Limiter limiter);

    int count(ReplyCondition condition);

    ReplyEntity queryById(Integer id);

    void updateAudit(Integer id, Integer newStatus, Integer oldStatus);
}
